package param;

import lombok.Data;
import top.lingkang.finalvalidated.constraints.Length;
import top.lingkang.finalvalidated.constraints.NotNull;

/**
 * @author lingkang
 * created by 2025/11/9 0:48
 */
@Data
public class UserParamGroups {
    @NotNull(groups = ParamUpdate.class)
    private Long id;
    @Length(min = 1, max = 12)
    private String name;

    public interface ParamUpdate {
    }

    public interface ParamAdd {
    }
}
